<HTML><HEAD><TITLE>clause(+Head, -Body)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Dynamic Predicates</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>clause(+Head, -Body)</H1>
Succeeds if Head :- Body  is an existing dynamic clause.


<DL>
<DT><EM>Head</EM></DT>
<DD>Atom or compound term.
</DD>
<DT><EM>Body</EM></DT>
<DD>Atom, variable or compound term.
</DD>
</DL>
<H2>Description</H2>
   Identical to clause((Head :- Body)).

<P>

<H3>Modes and Determinism</H3><UL>
<LI>clause(+, -) is nondet
</UL>
<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H3>Fail Conditions</H3>
Fails if no dynamic clause head unifies with Head
<H2>See Also</H2>
<A HREF="../../kernel/dynamic/clause-1.html">clause / 1</A>
</BODY></HTML>
